package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.JournalEntry.lCarRefuelingJournal;
import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.FillingWareRegEntry;
import org.springframework.stereotype.Component;

@Component
public interface FillingWareRegEntryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(FillingWareRegEntry record);

    int insertSelective(FillingWareRegEntry record);

    FillingWareRegEntry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(FillingWareRegEntry record);

    int updateByPrimaryKey(FillingWareRegEntry record);

    Double selFillingWareBeginBalance(Map<String, Object> map);


    List<FillingWareRegEntry> selFillingWareRegEntryByParentid(@Param("parentid")String parentid, @Param("oilName")String oilName);


    List<FillingWareRegEntry> selFillingWareRegEntry(Map<String, Object> map);

    Double selFillingWareBeginBalances(Map<String, Object> map);

    int deleteByParentId(String parentid);

    Double selFillingWarePrice(Map map);

    Double selFillingWarePrices(Map map);
}